package com.dly.blog.inteface;

import com.dly.blog.domain.OpLogEntity;
import com.dly.blog.domain.ro.OpLogRO;
import com.dly.blog.domain.ro.PageRO;
import com.dly.blog.domain.vo.PageVO;

/**
 * 抽象出来的日志保存实现
 * @Author: DaiLiYu
 * @Date: 2023/7/17 11:27
 */
public interface LogStorageService {

    /**
     * 保存日志
     * @param opLogEntity
     */
    void saveLog(OpLogEntity opLogEntity);

    /**
     * 分页查询日志
     * @param pageRO
     * @return
     */
    PageVO<OpLogEntity> getPageLog(OpLogRO pageRO);

}
